﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WpfSnqkGasAnalysis.Model;

namespace WpfSnqkGasAnalysis.IData
{
    /// <summary>
    /// 数据接口
    /// </summary>
    public interface IOrganic_sulfurDAL
    {
        /// <summary>
        /// 新增有机硫
        /// </summary>
        /// <param name="organic_Sulfur"></param>
        /// <returns></returns>
        /// 创建时间：2022-12-26 17:52:38。作者：王浩力
        IResult Add(Organic_sulfur organic_Sulfur);

        IResult Edit(Organic_sulfur organic_Sulfur);

        /// <summary>
        /// 根据主键获取一条
        /// </summary>
        /// <param name="id">主键</param>
        /// <returns></returns>
        /// 创建时间：2022-12-27 09:52:54。作者：王浩力
        Organic_sulfur Get(long id);

        /// <summary>
        /// 标记删除。不做物理删除
        /// </summary>
        /// <param name="organic_SulfurKEY"></param>
        /// <returns></returns>
        IResult Delete(long organic_SulfurKEY);

        /// <summary>
        /// 审核有机硫
        /// </summary>
        /// <param name="organic_Sulfur_"></param>
        /// <returns></returns>
        IResult Check(Organic_sulfur_check_history check_History);

        /// <summary>
        /// 校对
        /// </summary>
        /// <param name="organic_Sulfur_"></param>
        /// <returns></returns>
        /// 创建时间：2022-12-26 17:54:17
        IResult Proofreader(Organic_sulfur organic_Sulfur);

        /// <summary>
        /// 分页查询
        /// </summary>
        /// <param name="organic_Sulfur"></param>
        /// <param name="p"></param>
        /// <param name="rows"></param>
        /// <returns></returns>
        PageModel<Organic_sulfur> Page(Organic_sulfur organic_Sulfur, int p, int rows);

    }
}
